package com.ai723.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HelloController {
    // 部署后可访问：http://服务器IP:8080/hello 验证是否成功
    @GetMapping("/hello")
    public String hello() {
        return "Hello Jenkins! 项目自动部署成功！";
    }
}
